import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { useREM } from './utils/flexible'
import mLibs from './libs'
import store from './store'
// 初始化主题
import useTheme from './utils/theme'
import mDrictives from './directives/index'
// 注册svg-icon
import 'virtual:svg-icons-register'
import './permission'
// tailwindcss
import './styles/index.scss'
// 移动端屏幕字体基准大小
useREM()
useTheme()
createApp(App).use(store).use(router).use(mLibs).use(mDrictives).mount('#app')
